package cn.itcast.employmanager.domain;
/**
 * 员工实体类
 * @author 林辛
 * 2021年12月23日
 */
public class Employee {
	/**
	 * 员工的id
	 */
	private Integer id;
	/**
	 * 员工的姓名
	 */
	private String name;
	/**
	 * 员工的电话
	 */
	private String phone; 
	/**
	 * 员工所谓部门的id
	 */
	private Integer departmentId;
	/**
	 * 员工所属部门的名称
	 */
	private String departmentName;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Integer getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
}
